package com.msw.rest.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by minshiwu on 2017/3/10.
 */
public class Domain {

    //@JsonProperty("domain_name")
    @JsonIgnore
    private String domainName;

    @JsonProperty("domain_id")
    private String domainId;

    /*这里有个坑*/
    @JsonProperty("is_owner_user")
    private boolean isOwner;

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getDomainId() {
        return domainId;
    }

    public void setDomainId(String domainId) {
        this.domainId = domainId;
    }

    public boolean isOwner() {
        return isOwner;
    }

    public void setOwner(boolean owner) {
        isOwner = owner;
    }
}
